
<style>
.affix{top:10px;}
.head-style-list li,.editor-template-list li{cursor: pointer;}
</style>
		<div class="ui-portlet">
			{{template wxes/_user_wxes}}
			<ol class="breadcrumb">
			  <li><a href="/users/index"><i class="fa fa-home"></i>&nbsp;&nbsp;个人中心</a></li>
			  <li><a href="/qas/mine">活动提议</a></li>
			  <li class="active">新增|编辑</li>
			</ol> 
		</div>          
       <hr>

{{$this->Form->create('Qa',array('class'=>'form-horizontal','role'=>'form'))}}
		
	<div class="tab-content">
		
			
		<div role="tabpanel" class="tab-pane active" id="chi-info">
			
			<div class="form-group">
				<label class="col-sm-2 control-label" for="QaAddress">相关活动</label>
				<div class="col-sm-9 controls">
					{{$this->Form->input('data_id',array('class'=>'form-control','div'=>false,'label'=>false,))}}
				</div>
			</div>
			
			<div class="form-group">
				<label class="col-sm-2 control-label" for="QaName">提议内容</label>
				<div class="col-sm-9 controls">
					{{$this->Form->hidden('id')}}					
					{{$this->Form->hidden('model')}}
					<input type="hidden" name="referer" value="/qas/mine?model={{$_REQUEST['model']}}&data_id={{$_REQUEST['data_id']}}">
					{{$this->Form->input('name',array('class'=>'form-control','div'=>false,'label'=>false,'rows'=>2))}}
				</div>
			</div>
			
			<div class="form-group">
				<label class="col-sm-2 control-label" for="WxStorefrontCoverImg">提议附件</label>
				<div class="col-sm-9 controls select">
					{{$this->Swfupload->load('qfile',array(
					'label'=>false,'modelClass'=>'Qa',
					'file_types'=> '*.jpg;*.gif;*.png;*.bmp',
					'isadmin'=>false
					))}}
				</div>
			</div>
			
			
		</div>
	</div>
	
	
	<div class="form-group">
		<label class="col-sm-2 control-label"></label>
		<div class="col-sm-9"><input class="btn btn-primary" type="submit" value="提交"></div>
	</div>
{{$this->Form->end()}}
{{$this->Html->script(array(
	'swfupload/swfupload.js',
	'swfupload/swfupload.queue.js',
	'swfupload/swfupload.cookies.js',
	'swfupload/fileprogress.js',
	'swfupload/handlers.js',
))}}
